import Vue from 'vue'
import VueRouter from "vue-router";
import App from './App.vue'

import store from './store/index.js'

// 导入自定义的路由组件js
import myRouter from "./plugins/myRouter.js";

// 导入axios
import "./plugins/myAxios.js";

// 导入elementui
import "./plugins/elementUI.js";

// 把路由挂载到vue
Vue.use(VueRouter);

new Vue({
  render: h => h(App),
  // 把路由挂载到vue
  router: myRouter,
	store: store
}).$mount('#app')
